#ifndef DEFINES_H_INCLUDED
#define DEFINES_H_INCLUDED

// directions: 0 = north, 1 = east, 2 = south, 3 = west
const int dir[4][2] = {{-1, 0}, {0, 1}, {1, 0}, {0, -1}};
#define NUM_COLORS 8
const double colors[NUM_COLORS] = {0.0, 0.4, 0.6, 0.8, 0.9, 0.3, 0.7, 0.2,};
#define BORDER 5
#define BOT_NUMMEMCELLS 8
#define CHANCE_FOOD 8
#define CHANCE_NEWBOT 8
#define FIGHT_DAMAGE 20
#define FOOD_INCREASE 10
#define FOOD_ITERATIONS 50
#define START_HEALTH 100

#define CMD_MOVE    0
#define CMD_TURN    1
#define CMD_STORE   2
#define CMD_ADD     3
#define CMD_ADDM    4
#define CMD_IFEQ    5
#define CMD_IFNEQ   6
#define CMD_IFEQM   7
#define CMD_IFNEQM  8
#define CMD_JUMP    9
#define CMD_JUMPM   10
#define CMD_ATTACK  11

#endif // DEFINES_H_INCLUDED
